package com.xiao.spring.aop.aop_2_aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;

@Aspect
public class SystemArchitecture {

	@Pointcut("within(com.xiao.spring.web..*)")
	public void inWebLayer(){}
	
	@Pointcut("within(com.xiao.spring.service..*)")
	public void inServiceLayer(){}
	
	@Pointcut("within(com.xiao.spring.data..*)")
	public void inDataAccessLayer(){}
	
	@Pointcut("execution(* com.xiao.spring..service..*.*(..)")
	public void businessService(){}
	
	@Pointcut("execution(* com.xiao.spring..data..*.*(..)")
	public void dataAccessOperation(){}
	
}
